package com.appspot.didit.client.user;

import com.appspot.didit.client.BasePresenter;
import com.appspot.didit.client.BaseView;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.HasValue;

public interface RegisterPresenter extends BasePresenter {
	
	interface View extends BaseView {
		HasClickHandlers getCheckAvailableClickHandlers();
		HasClickHandlers getRegisterClickHandlers();
		HasClickHandlers getRegisterResetClickHandlers();
		HasKeyPressHandlers getKeyPressHandler();
		HasValue<String> getUsername();
		HasValue<String> getPassword();
		HasValue<String> getPasswordRe();
		HasText getRegisterHint();
	}	

	View showRegister();

}
